﻿using System;
using Volo.Abp.Domain.Entities.Auditing;

namespace Thinker.SignChannel.Entities;

public class Person : AuditedAggregateRoot<Guid>
{
    protected Person()
    {
        PersonName = string.Empty;
        IdNumber = string.Empty;
    }

    public Person(Guid id,
        string personName,
        string idNumber,
        string? sex,
        string? personCode,
        string? personType) : base(id)
    {
        PersonName = personName;
        IdNumber = idNumber;
        Sex = sex;
        PersonCode = personCode;
        PersonType = personType;
    }

    public string PersonName { get; set; }
    public string IdNumber { get; set; }
    public string? Sex { get; set; }
    public string? PersonCode { get; set; }
    public string? PersonType { get; set; }
}